<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:insert="~{include :: header('修改配置信息')}" />
</head>
<body class="hold-transition">
<div class="container-fluid mt-2 mb-2">
    <div class="card card-primary card-outline card-outline-tabs mb-0">
        <div class="card-header p-0 border-bottom-0">
            <ul class="nav nav-tabs">
                <li class="nav-item">
                    <a class="nav-link" href="/profile/edit.html?type=serviceSwitch">功能开关</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/profile/edit.html?type=register">注册开关</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/profile/edit.html?type=invite">分销配置</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/profile/edit.html?type=baiJiaYun">百家云</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/profile/edit.html?type=tencentCloud">腾讯云</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link active" href="/profile/edit.html?type=aliyun">阿里云</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/profile/edit.html?type=genseeLive">展示互动直播</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="/profile/edit.html?type=sensitiveWords">敏感词</a>
                </li>
            </ul>
        </div>
        <div class="card-body">
            <form class="form-horizontal m" id="form-profile-edit">
                <input id="modelType"  th:value="${modelType}" type="hidden"/>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label text-sm-right">accessKeyId</label>
                    <div class="col-sm-3">
                        <input id="accessKeyId" name="accessKeyId" th:value="${websiteProfile.get('accessKeyId')}" class="form-control" type="text">
                        <span class="text-red">开发者Key（accessKeyId）</span>
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label text-sm-right">accessKeySecret</label>
                    <div class="col-sm-3">
                        <input id="accessKeySecret" name="accessKeySecret" th:value="${websiteProfile.get('accessKeySecret')}" class="form-control" type="text">
                        <span class="text-red">开发者Secret（accessKeySecret）</span>
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2 col-form-label text-sm-right">Url鉴权</label>
                    <div class="col-sm-3">
                        <input id="privateKey" name="privateKey" th:value="${websiteProfile.get('privateKey')}" class="form-control" type="text">
                        <span class="text-red">Url鉴权（privateKey）</span>
                    </div>
                </div>
                <div class="form-group row">
                    <label class="col-sm-2"></label>
                    <div class="col-sm-6">
                        <button type="button" class="btn btn-primary" onclick="profileSave()"><i class="fa fa-check"></i>保 存</button>&nbsp;
                        <button type="button" class="btn btn-danger" onclick="closeItem()"><i class="fa fa-reply-all"></i>关 闭 </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<th:block th:insert="~{include :: footer}" />
<script src="/static/js/profile.js"></script>
</body>
</html>